<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="../../lib/layui-v2.6.3/css/layui.css">
    <link rel="stylesheet" href="../../css/public.css" media="all">
    <link rel="stylesheet" href="css/logWork.css">
    <script src="js/jQuery.3.6.0.js"></script>
    <script src="../../lib/layui-v2.6.3/layui.js"></script>
    <title>工作流程</title>
    <style>
        body{
            background-image: url("../../images/bg1.jpg");
            background-repeat: no-repeat;
            background-size: 2000px;
        }
        .layuimini-container{
            opacity: .8;
        }
    </style>
</head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">
        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
            <legend>工作时间线</legend>
        </fieldset>
        <ul class="layui-timeline">
            <li class="layui-timeline-item">
                <i class="layui-icon layui-timeline-axis"></i>
                <div class="layui-timeline-content layui-text">
                    <form class="layui-form" action="#" lay-filter="changes">
                        <div class="layui-form-item">
                            <div class="layui-input-inline">
                                <input type="text" class="layui-input" name="time1" placeholder="请选择时间范围" readonly>
                            </div>
                        </div>

                        <div class="layui-form-item layui-form-text">
                            <div class="layui-input-inline">
                                <textarea name="work1" placeholder="请输入工作内容" class="layui-textarea" readonly ></textarea>
                                <div class="layui-btn-container" style="margin-top: 10px;">
                                    <button class="layui-btn" id="test1" onclick="return false">修改工作</button>
                                </div>
                            </div>
                    </form>
                </div>
            </li>
            <li class="layui-timeline-item">
                <i class="layui-icon layui-timeline-axis"></i>
                <div class="layui-timeline-content layui-text">
                    <form class="layui-form" action="#" lay-filter="changes">
                        <div class="layui-form-item">
                            <div class="layui-input-inline">
                                <input type="text" class="layui-input" name="time2" placeholder="请选择时间范围" readonly>
                            </div>
                        </div>

                        <div class="layui-form-item layui-form-text">
                            <div class="layui-input-inline">
                                <textarea name="work2" placeholder="请输入工作内容" class="layui-textarea" readonly></textarea>
                                <div class="layui-btn-container" style="margin-top: 10px;">
                                    <button class="layui-btn" id="test2" onclick="return false">修改工作</button>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </li>
            <li class="layui-timeline-item">
                <i class="layui-icon layui-timeline-axis"></i>
                <div class="layui-timeline-content layui-text">
                    <form class="layui-form" action="#" lay-filter="changes">
                        <div class="layui-form-item">
                            <div class="layui-input-inline">
                                <input type="text" class="layui-input" name="time3" placeholder="请选择时间范围" readonly>
                            </div>
                        </div>

                        <div class="layui-form-item layui-form-text">
                            <div class="layui-input-inline">
                                <textarea name="work3" placeholder="请输入工作内容" class="layui-textarea" readonly></textarea>
                                <div class="layui-btn-container" style="margin-top: 10px;">
                                    <button class="layui-btn" id="test3" onclick="return false">修改工作</button>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </li>
            <li class="layui-timeline-item">
                <i class="layui-icon layui-timeline-axis"></i>
                <div class="layui-timeline-content layui-text">
                    <form class="layui-form" action="#" lay-filter="changes">
                        <div class="layui-form-item">
                            <div class="layui-input-inline">
                                <input type="text" class="layui-input" name="time4" placeholder="请选择时间范围" readonly>
                            </div>
                        </div>

                        <div class="layui-form-item layui-form-text">
                            <div class="layui-input-inline">
                                <textarea name="work4" placeholder="请输入工作内容" class="layui-textarea" readonly></textarea>
                                <div class="layui-btn-container" style="margin-top: 10px;">
                                    <button class="layui-btn" id="test4" onclick="return false">修改工作</button>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </li>
            <!-- 分割线 -->
            <hr width="500px">

            <div class="layui-form-item">
                <div class="layui-input-inline" style="margin-left: 25px;">
                    <button class="layui-btn" id="append">添加工作</button>
                    <!-- <button type="reset" class="layui-btn layui-btn-primary">重置事件</button> -->
                </div>
            </div>
        </ul>
        <!-- 修改弹窗 -->
        <div class="msg" id="msg">
            <form class="layui-form content" action="#" lay-filter="changes">
                <div class="layui-form-item">
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" name="time-content" placeholder="请选择时间范围" id="time-box">
                    </div>
                </div>

                <div class="layui-form-item layui-form-text">
                    <div class="layui-input-inline">
                        <textarea name="work-content" placeholder="请输入工作内容" class="layui-textarea" id="work-box"></textarea>
                    </div>
                </div>
                <!-- 按钮 -->
                <div class="layui-form-item">
                    <div class="layui-input-inline">
                        <button class="layui-btn" id="adp" onclick="return false">确认</button>
                        <button class="layui-btn" id="giveUp" onclick="return false">取消</button>
                    </div>
                </div>
            </form>
        </div>
        <!-- 添加弹窗 -->
        <div class="msg" id="add">
            <form class="layui-form content" action="#" lay-filter="changed">
                <div class="layui-form-item">
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" name="time-content" placeholder="请选择时间范围" id="time-box1">
                    </div>
                </div>

                <div class="layui-form-item layui-form-text">
                    <div class="layui-input-inline">
                        <textarea name="work-content" placeholder="请输入工作内容" class="layui-textarea" id="work-box1"></textarea>
                    </div>
                </div>
                <!-- 按钮 -->
                <div class="layui-form-item">
                    <div class="layui-input-inline">
                        <button class="layui-btn" id="adp1" onclick="return false">确认</button>
                        <button class="layui-btn" id="giveUp1" onclick="return false">取消</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

<script src="js/logWork.js"></script>
</body>
</html>